package com.teamcenter.rac.massupdate.databinding;

import org.eclipse.core.databinding.Binding;
import org.eclipse.core.databinding.observable.value.WritableValue;

public class UpdateBindingModelToTargetChangeObservable
  extends WritableValue
{
  private Binding m_bindingToUpdate;
  
  public void doSetValue(Object paramObject)
  {
    super.doSetValue(paramObject);
    if (this.m_bindingToUpdate != null) {
      this.m_bindingToUpdate.updateModelToTarget();
    }
  }
  
  public void setBindingToUpdate(Binding paramBinding)
  {
    this.m_bindingToUpdate = paramBinding;
  }
}